<template>
</template>
<script>
import { MessageBox, Indicator, Toast } from 'mint-ui';
import { setDoctor } from 'api/channel'

export default {
    data() {
        return {

        }
    },
    mounted() {
        Indicator.open();
        setDoctor().then(r => {
            Indicator.close();
            MessageBox.alert("恭喜您注册医生权限成功，您可以通过手机号登录您的系统！", '温馨提示').then(action => {
                // this.$router.push({ path: '/channel/home' });
                this.$router.push({ path: '/channel/doctorList' });
                
            });
        })
    }
}
</script>